<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="ty" tagdir="/WEB-INF/tags"%>

<!DOCTYPE html>
<html lang="zh">
	<head>
		<%@ include file="../common/head.jsp"%>
		<title>更新用户资料-后台管理系统</title>
	</head>
	<ty:right>
		<div class="page-header">
			<h1>更新用户资料</h1>
		</div>
		<form action="/edit.action" forward="/manage.action" id="validForm" class="form-horizontal">
			<input type="hidden" name="id" id="id" value="${user.id}" />
			
			<div class="form-group">
				<label class="col-sm-2 control-label no-padding-right">登陆名称：</label>
				<div class="col-sm-10">
					<input name="username" type="text" placeholder="请填写登陆名称" datatype="s6-18" class="col-xs-10 col-sm-5" value="${user.username}" />
					<span class="validform_tip control-label"></span>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label no-padding-right">用户呢称：</label>
				<div class="col-sm-10">
					<input name="nickname" type="text" placeholder="请填写用户呢称" datatype="*1-32" class="col-xs-10 col-sm-5" value="${user.nickname}" />
					<span class="validform_tip control-label"></span>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label no-padding-right">手机号码：</label>
				<div class="col-sm-10">
					<input name="phone" type="text" placeholder="请填写手机号码" datatype="m" class="col-xs-10 col-sm-5" value="${user.phone}" />
					<span class="validform_tip control-label"></span>
				</div>
			</div>
			<div class="clearfix">
				<div class="col-md-offset-3 col-md-9"> 
					<button type="submit" class="btn btn-danger" type="button">
						<i class="ace-icon fa fa-check bigger-110"></i>
						提交
					</button>
					<button id="returnBtn" type="button" class="btn btn-info" type="button">
						<i class="ace-icon fa fa-close bigger-110"></i>
						取消
					</button>
				</div>
			</div>
		</form>
	</ty:right>
</html>